isFillEnabled

abstract fun isFillEnabled(block: DesignBlock): Boolean

Query if the fill of the given design block is enabled. The flag does not depend on an attached fill block. It defaults to true, so a fresh graphic reports its fill as enabled while getFill returns an invalid block.

Return

true if the fill is enabled, false otherwise.

Parameters

block

the block whose fill state should be queried.